<script setup>
import HelloWorld from './components/HelloWorld.vue'
import { onMounted } from 'vue';
import {ElMessage} from 'element-plus'
onMounted(() => {
 if (window.runtime && window.runtime.EventsOn) {
    runtime.EventsOn("msg", (msg) => {
      console.log("事件触发消息:", msg);
      ElMessage.info(msg)
    })
  }
})
</script>

<template>
  <HelloWorld/>
</template>

<style>

</style>
